<LayoutEditFormBox :loading="load">

    <template slot="main">
        <el-form ref="editForm" :model="form" label-width="100px" label-position="left">

            <LayoutCell>
                <LayoutCellItem title="配送设置">

                    <el-form-item label="配送方式" prop="send_online">
                        <el-checkbox v-model="form.send_online" :true-label="1" :false-label="0">快递配送</el-checkbox>
                    </el-form-item>
                    <el-form-item label="" prop="send_offline">
                        <el-checkbox v-model="form.send_offline" :true-label="1" :false-label="0">到店自提</el-checkbox>
                    </el-form-item>
                    <el-form-item label="自提地址" prop="offline_type">
                        <el-radio-group v-model="form.offline_type">
                            <el-radio :label="1">本店地址</el-radio>
                            <el-radio :label="2">其他地址</el-radio>
                        </el-radio-group>
                    </el-form-item>
                    <el-form-item label="地址" prop="offline_address" v-show="form.offline_type == 2">
                        <el-input v-model="form.offline_address"></el-input>
                    </el-form-item>

                </LayoutCellItem>
            </LayoutCell>

        </el-form>
    </template>
    <template slot="footer">
        <el-button type="primary" @click="sum()">确定</el-button>
    </template>

</LayoutEditFormBox>